﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Hi_Baidu.Cache;
using Hi_Baidu.Entry;
using Hi_Baidu.Net;
using Hi_Baidu.Packet;
using UMFramework.Network;
using NetMeeting_Server.Config;
using Hi_Baidu.ListType;
using Hi_Baidu.Notify;
using Hi_Baidu.Plugin;
using Hi_Baidu.ListType.DetachMessage;
using Hi_Baidu.ListType.DetachImage;
using Hi_Baidu.User.Serializable.Log;

namespace Hi_Baidu
{
    class Globle
    {
        public static Hi_Baidu.Entry.Base.User user = new Hi_Baidu.Entry.Base.User();
        /// <summary>
        ///     插件管理器
        /// </summary>
        public static Plugin.PluginManager pluginManager = new PluginManager();
        /// <summary>
        ///     包帮助类
        /// </summary>
        public static PackageHelper packageHelper;
        /// <summary>
        ///     TCP端口管理器
        /// </summary>
        public static TcpPortListenManager tcpPortListenerManager = new TcpPortListenManager();
        /// <summary>
        ///     UDP端口管理器
        /// </summary>
        public static UdpPortListenManager udpPortListenerManager = new UdpPortListenManager();
        /// <summary>
        ///     超时计数器管理器
        /// </summary>
        public static TimeoutTimerManager timeoutTimerManager = new TimeoutTimerManager();
        /// <summary>
        ///     登陆面板句柄
        /// </summary>
        public static Window1 win_Login;
        /// <summary>
        ///     主面板句柄
        /// </summary>
        public static Win_Main win_Main;
        /// <summary>
        ///     用户分组管理器
        /// </summary>
        public static ItemCollection itemCollection = new ItemCollection();
        /// <summary>
        ///     用户好友管理器
        /// </summary>
        public static FriendCollection friendCollection = new FriendCollection();
        /// <summary>
        ///     窗口管理器
        /// </summary>
        public static PopWindowManager popWindowManager = new PopWindowManager();
        /// <summary>
        ///     用户挂起更新管理器
        /// </summary>
        public static UpdateUserInfoManager updateUserInfoManager = new UpdateUserInfoManager();
        /// <summary>
        ///     系统任务栏管理器
        /// </summary>
        public static SystemNotifyIconManager systemNotifyIconManager = new SystemNotifyIconManager();
        /// <summary>
        ///     网络信息事件池
        /// </summary>
        public static NetworkMessagePoolEvent networkMessagePoolEvent;
        /// <summary>
        ///     消息分包储存池
        /// </summary>
        public static List<TYPE_DETACH_MESSAGE> LIST_DetachMessageCollection = new List<TYPE_DETACH_MESSAGE>();
        /// <summary>
        ///     图片分包储存池
        /// </summary>
        public static List<TYPE_DETACH_IMAGE_MESSAGE> LIST_DetachImageCollection = new List<TYPE_DETACH_IMAGE_MESSAGE>();
        /// <summary>
        ///     用户聊天记录管理器
        /// </summary>
        public static UserTalkMessageLogManager userTalkMessageLogManager;
        /// <summary>
        ///     应用程序用户统计管理器
        /// </summary>
        public static ApplicationUserManager applicationUserManager;
        /// <summary>
        ///     用户选择的登录名
        /// </summary>
        public static String USER_SELECT_LOGIN_NAME;
        /// <summary>
        ///     用户个人数据文件
        /// </summary>
        public static UserSettingInfo userSettingInfo;
        /// <summary>
        ///     用户好友备注管理器
        /// </summary>
        public static UserMarkManager userMarkManager;
        /// <summary>
        ///     缓存的临时用户个人数据
        /// </summary>
        public static UserSettingInfo TEMP_USER_SETTING;
    }
}
